﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Warranty.Model.Model;

namespace Warranty.Model.Interface
{
    public interface IWarrantyHistoryProvider
    {
        bool Add(WarrantyHistory wSms);

        List<WarrantyHistory> SearchWarranty(string serial = null, string model = null, bool? transferFlag = null);

        bool UpdateWarrantyHistory(WarrantyHistory obj);

        WarrantyHistory RetrieveWarrantyHistory(string serial , string resptype);
    }
}
